package com.liuugoqing.creator.builder.phone;

/**
 * @Author : liugq
 * @Date : 2022/7/2 11:33
 * @See : 参考类
 * @Since： JDK1.8
 * @Version : 1.0
 */
public class TestPhone {
    public static void main(String[] args) {
        Phone phone = new Phone.Build()
                .cpu("因特尔")
                .mainboard("华硕")
                .memory("金士顿")
                .screen("三星")
                .builder();
        System.out.println(phone);
    }
}
